﻿using System;
using Microsoft.Build.Framework;
using System.Diagnostics;

namespace ConfigurationManagement.Administration.UI.Utilities
{
    class TaskHost : ITaskHost
    {
    }

    class BuildEngine : IBuildEngine
    {

        #region IBuildEngine Members

        public bool BuildProjectFile(string projectFileName, string[] targetNames, System.Collections.IDictionary globalProperties, System.Collections.IDictionary targetOutputs)
        {
            throw new NotImplementedException();
        }

        public int ColumnNumberOfTaskNode
        {
            get { throw new NotImplementedException(); }
        }

        public bool ContinueOnError
        {
            get { throw new NotImplementedException(); }
        }

        public int LineNumberOfTaskNode
        {
            get { throw new NotImplementedException(); }
        }

        public void LogCustomEvent(CustomBuildEventArgs e)
        {
            Debug.WriteLine(e.Message);
        }

        public void LogErrorEvent(BuildErrorEventArgs e)
        {
            Debug.WriteLine(e.Message);
        }

        public void LogMessageEvent(BuildMessageEventArgs e)
        {
            Debug.WriteLine(e.Message);
        }

        public void LogWarningEvent(BuildWarningEventArgs e)
        {
            Debug.WriteLine(e.Message);
        }

        public string ProjectFileOfTaskNode
        {
            get { throw new NotImplementedException(); }
        }

        #endregion
    }
}
